package systems
{
	/**
	 * @author Humberto Anjos
	 */
	public class Backgrounds
	{
		private var _main:Main
		
		public function Backgrounds(main:Main) 
		{
			_main = main
		}
		
		public function draw():void 
		{
			var background:Background = new Background(_main.stage)
			background.x = _main.stage.stageWidth / 2
			background.y = _main.stage.stageHeight / 2
			
			_main.container.addChild(background)
			
			background = new Background(_main.stage)
			background.x = _main.stage.stageWidth / 2
			background.y = -_main.stage.stageHeight / 2 - 10
			
			_main.container.addChild(background)
		}
	}

}